package com.link.base.tencent.corpwx.accounttag.service;

import com.link.base.tencent.corpwx.accounttag.model.AccountTagGroup;
import com.link.core.basic.service.BasicService;

/**
 * 客户标签 - 标签组
 *
 * @author 欧阳振强
 * @date 2020-01-02 14:56:55.0
 */
public interface AccountTagGroupService extends BasicService<AccountTagGroup> {
    /**
     * 从企业微信获取标签信息同步到CRM，此方法只会处理企业微信新增标签，不处理更新、删除
     *
     * @author 欧阳振强
     * @date 2020/01/04
     */
    void syncAllCorpTagFromWx() throws Exception;

    /**
     * 删除标签组
     *
     * @author 欧阳振强
     * @date 2020/01/04
     * @param accountTagGroup 标签组
     */
    void delTagGroupById(AccountTagGroup accountTagGroup) throws Exception;

    /**
     * 同步标签组到企业微信
     *
     * @author 欧阳振强
     * @date 2020/01/04
     * @param accountTagGroup 标签组
     */
    void syncTagGroupToWx(AccountTagGroup accountTagGroup) throws Exception;
}